"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var vue_router_1 = require("vue-router");
var element_plus_1 = require("element-plus");
// 路由实例
var router = (0, vue_router_1.useRouter)();
// 表单引用
var formRef = (0, vue_1.ref)(null);
// 表单数据
var formData = (0, vue_1.reactive)({
    inventoryNo: '',
    warehouse: '',
    remark: '',
    inventoryPerson: '',
    inventoryTime: '',
    keyword: ''
});
// 表单验证规则
var formRules = {
    inventoryNo: [{ required: true, message: '请输入盘点编号', trigger: 'blur' }],
    warehouse: [{ required: true, message: '请选择盘点仓库', trigger: 'blur' }],
    inventoryPerson: [{ required: true, message: '请输入盘点人', trigger: 'blur' }],
    inventoryTime: [{ required: true, message: '请选择盘点时间', trigger: 'blur' }]
};
// 仓库下拉选项
var warehouseOptions = [
    { label: '1号仓库', value: '1号' },
    { label: '2号仓库', value: '2号' },
    { label: '3号仓库', value: '3号' },
    { label: '4号仓库', value: '4号' }
];
// 产品列表数据
var productList = (0, vue_1.reactive)([
    {
        productNo: '01',
        productName: '丝芙兰',
        brand: '丝芙兰精华',
        spec: '50g',
        type: '单品',
        retailPrice: '¥111.62',
        discount: '单品1.2套装2.9',
        discountPrice: '¥123.98',
        specialPrice: '¥111.32',
        seckillPrice: '¥101.32',
        warehouse: '1号',
        stock: 472,
        inventoryQuantity: 1,
        inStockDate: '2024.09.10',
        validDays: '321天',
        status: '-',
        note: '-'
    },
    {
        productNo: '02',
        productName: '雅诗兰黛',
        brand: '小棕瓶',
        spec: '30ml',
        type: '单品',
        retailPrice: '¥580.00',
        discount: '单品1.0套装2.5',
        discountPrice: '¥580.00',
        specialPrice: '¥520.00',
        seckillPrice: '¥480.00',
        warehouse: '2号',
        stock: 300,
        inventoryQuantity: 1,
        inStockDate: '2024.06.15',
        validDays: '280天',
        status: '-',
        note: '-'
    },
    {
        productNo: '03',
        productName: '兰蔻',
        brand: '粉水',
        spec: '200ml',
        type: '单品',
        retailPrice: '¥380.00',
        discount: '单品1.0套装2.2',
        discountPrice: '¥380.00',
        specialPrice: '¥340.00',
        seckillPrice: '¥300.00',
        warehouse: '3号',
        stock: 500,
        inventoryQuantity: 1,
        inStockDate: '2024.07.20',
        validDays: '300天',
        status: '-',
        note: '-'
    },
    {
        productNo: '04',
        productName: '资生堂',
        brand: '红腰子',
        spec: '50ml',
        type: '单品',
        retailPrice: '¥780.00',
        discount: '单品1.0套装2.8',
        discountPrice: '¥780.00',
        specialPrice: '¥700.00',
        seckillPrice: '¥650.00',
        warehouse: '4号',
        stock: 210,
        inventoryQuantity: 1,
        inStockDate: '2024.08.30',
        validDays: '330天',
        status: '-',
        note: '-'
    }
]);
// 减少盘点数量
var decreaseQuantity = function (row) {
    if (row.inventoryQuantity > 0) {
        row.inventoryQuantity--;
    }
};
// 增加盘点数量
var increaseQuantity = function (row) {
    row.inventoryQuantity++;
};
// 返回按钮
var handleBack = function () {
    router.back();
};
// 查询按钮
var handleSearch = function () {
    formRef.value.validate(function (valid) {
        if (valid) {
            // 这里可以添加查询逻辑
            element_plus_1.ElMessage.info('查询功能已触发，可根据关键字等条件筛选产品');
        }
    });
};
// 确认提交
var handleSubmit = function () {
    formRef.value.validate(function (valid) {
        if (valid) {
            // 这里可以添加提交逻辑
            element_plus_1.ElMessage.success('盘点单已提交成功');
            // 提交后可重置表单或跳转页面
            // router.push('/inventory/list')
        }
    });
};
// 保存草稿
var handleSaveDraft = function () {
    element_plus_1.ElMessage.success('盘点单已保存为草稿');
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['import-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['search-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['quantity-control']} */ ;
/** @type {__VLS_StyleScopedClasses['bottom-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['bottom-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['el-button--primary']} */ ;
/** @type {__VLS_StyleScopedClasses['bottom-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['bottom-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['el-button--success']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "inventory-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onClick': {} }, { type: "text" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBack) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleBack,];
var __VLS_3;
var __VLS_8 = {}.ElForm;
/** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
// @ts-ignore
ElForm;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign({ model: (__VLS_ctx.formData), ref: "formRef", rules: (__VLS_ctx.formRules), labelWidth: "80px" }, { class: "inventory-form" })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign({ model: (__VLS_ctx.formData), ref: "formRef", rules: (__VLS_ctx.formRules), labelWidth: "80px" }, { class: "inventory-form" })], __VLS_functionalComponentArgsRest(__VLS_9), false));
/** @type {typeof __VLS_ctx.formRef} */ ;
var __VLS_12 = {};
var __VLS_14 = __VLS_11.slots.default;
// @ts-ignore
[formData, formRules, formRef,];
var __VLS_15 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({
    gutter: (20),
}));
var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_16), false));
var __VLS_19 = __VLS_18.slots.default;
var __VLS_20 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
    span: (8),
}));
var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([{
        span: (8),
    }], __VLS_functionalComponentArgsRest(__VLS_21), false));
var __VLS_24 = __VLS_23.slots.default;
var __VLS_25 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({
    label: "盘点编号",
    prop: "inventoryNo",
}));
var __VLS_27 = __VLS_26.apply(void 0, __spreadArray([{
        label: "盘点编号",
        prop: "inventoryNo",
    }], __VLS_functionalComponentArgsRest(__VLS_26), false));
var __VLS_29 = __VLS_28.slots.default;
var __VLS_30 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({
    modelValue: (__VLS_ctx.formData.inventoryNo),
    placeholder: "请输入盘点编号",
}));
var __VLS_32 = __VLS_31.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.inventoryNo),
        placeholder: "请输入盘点编号",
    }], __VLS_functionalComponentArgsRest(__VLS_31), false));
// @ts-ignore
[formData,];
var __VLS_28;
var __VLS_23;
var __VLS_35 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35({
    span: (8),
}));
var __VLS_37 = __VLS_36.apply(void 0, __spreadArray([{
        span: (8),
    }], __VLS_functionalComponentArgsRest(__VLS_36), false));
var __VLS_39 = __VLS_38.slots.default;
var __VLS_40 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_41 = __VLS_asFunctionalComponent(__VLS_40, new __VLS_40({
    label: "盘点仓库",
    prop: "warehouse",
}));
var __VLS_42 = __VLS_41.apply(void 0, __spreadArray([{
        label: "盘点仓库",
        prop: "warehouse",
    }], __VLS_functionalComponentArgsRest(__VLS_41), false));
var __VLS_44 = __VLS_43.slots.default;
var __VLS_45 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_46 = __VLS_asFunctionalComponent(__VLS_45, new __VLS_45({
    modelValue: (__VLS_ctx.formData.warehouse),
    placeholder: "请选择盘点仓库",
    clearable: true,
}));
var __VLS_47 = __VLS_46.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.warehouse),
        placeholder: "请选择盘点仓库",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_46), false));
var __VLS_49 = __VLS_48.slots.default;
// @ts-ignore
[formData,];
for (var _i = 0, _a = __VLS_getVForSourceType((__VLS_ctx.warehouseOptions)); _i < _a.length; _i++) {
    var item = _a[_i][0];
    // @ts-ignore
    [warehouseOptions,];
    var __VLS_50 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_51 = __VLS_asFunctionalComponent(__VLS_50, new __VLS_50({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_52 = __VLS_51.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_51), false));
}
var __VLS_48;
var __VLS_43;
var __VLS_38;
var __VLS_55 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
    span: (8),
}));
var __VLS_57 = __VLS_56.apply(void 0, __spreadArray([{
        span: (8),
    }], __VLS_functionalComponentArgsRest(__VLS_56), false));
var __VLS_59 = __VLS_58.slots.default;
var __VLS_60 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
    label: "盘点备注",
    prop: "remark",
}));
var __VLS_62 = __VLS_61.apply(void 0, __spreadArray([{
        label: "盘点备注",
        prop: "remark",
    }], __VLS_functionalComponentArgsRest(__VLS_61), false));
var __VLS_64 = __VLS_63.slots.default;
var __VLS_65 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_66 = __VLS_asFunctionalComponent(__VLS_65, new __VLS_65({
    modelValue: (__VLS_ctx.formData.remark),
    placeholder: "请输入盘点备注",
}));
var __VLS_67 = __VLS_66.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.remark),
        placeholder: "请输入盘点备注",
    }], __VLS_functionalComponentArgsRest(__VLS_66), false));
// @ts-ignore
[formData,];
var __VLS_63;
var __VLS_58;
var __VLS_18;
var __VLS_70 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
    gutter: (20),
}));
var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_71), false));
var __VLS_74 = __VLS_73.slots.default;
var __VLS_75 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
    span: (8),
}));
var __VLS_77 = __VLS_76.apply(void 0, __spreadArray([{
        span: (8),
    }], __VLS_functionalComponentArgsRest(__VLS_76), false));
var __VLS_79 = __VLS_78.slots.default;
var __VLS_80 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_81 = __VLS_asFunctionalComponent(__VLS_80, new __VLS_80({
    label: "盘点人",
    prop: "inventoryPerson",
}));
var __VLS_82 = __VLS_81.apply(void 0, __spreadArray([{
        label: "盘点人",
        prop: "inventoryPerson",
    }], __VLS_functionalComponentArgsRest(__VLS_81), false));
var __VLS_84 = __VLS_83.slots.default;
var __VLS_85 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_86 = __VLS_asFunctionalComponent(__VLS_85, new __VLS_85({
    modelValue: (__VLS_ctx.formData.inventoryPerson),
    placeholder: "请输入盘点人",
}));
var __VLS_87 = __VLS_86.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.inventoryPerson),
        placeholder: "请输入盘点人",
    }], __VLS_functionalComponentArgsRest(__VLS_86), false));
// @ts-ignore
[formData,];
var __VLS_83;
var __VLS_78;
var __VLS_90 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_91 = __VLS_asFunctionalComponent(__VLS_90, new __VLS_90({
    span: (8),
}));
var __VLS_92 = __VLS_91.apply(void 0, __spreadArray([{
        span: (8),
    }], __VLS_functionalComponentArgsRest(__VLS_91), false));
var __VLS_94 = __VLS_93.slots.default;
var __VLS_95 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_96 = __VLS_asFunctionalComponent(__VLS_95, new __VLS_95({
    label: "盘点时间",
    prop: "inventoryTime",
}));
var __VLS_97 = __VLS_96.apply(void 0, __spreadArray([{
        label: "盘点时间",
        prop: "inventoryTime",
    }], __VLS_functionalComponentArgsRest(__VLS_96), false));
var __VLS_99 = __VLS_98.slots.default;
var __VLS_100 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100(__assign({ modelValue: (__VLS_ctx.formData.inventoryTime), type: "date", placeholder: "选择盘点时间" }, { style: {} })));
var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.formData.inventoryTime), type: "date", placeholder: "选择盘点时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_101), false));
// @ts-ignore
[formData,];
var __VLS_98;
var __VLS_93;
var __VLS_105 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_106 = __VLS_asFunctionalComponent(__VLS_105, new __VLS_105({
    span: (8),
}));
var __VLS_107 = __VLS_106.apply(void 0, __spreadArray([{
        span: (8),
    }], __VLS_functionalComponentArgsRest(__VLS_106), false));
var __VLS_109 = __VLS_108.slots.default;
var __VLS_110 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110({
    label: "关键字",
    prop: "keyword",
}));
var __VLS_112 = __VLS_111.apply(void 0, __spreadArray([{
        label: "关键字",
        prop: "keyword",
    }], __VLS_functionalComponentArgsRest(__VLS_111), false));
var __VLS_114 = __VLS_113.slots.default;
var __VLS_115 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115({
    modelValue: (__VLS_ctx.formData.keyword),
    placeholder: "请输入关键字",
}));
var __VLS_117 = __VLS_116.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.keyword),
        placeholder: "请输入关键字",
    }], __VLS_functionalComponentArgsRest(__VLS_116), false));
// @ts-ignore
[formData,];
var __VLS_113;
var __VLS_108;
var __VLS_73;
var __VLS_11;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "action-buttons" }));
var __VLS_120 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_121 = __VLS_asFunctionalComponent(__VLS_120, new __VLS_120(__assign({ type: "primary" }, { class: "import-btn" })));
var __VLS_122 = __VLS_121.apply(void 0, __spreadArray([__assign({ type: "primary" }, { class: "import-btn" })], __VLS_functionalComponentArgsRest(__VLS_121), false));
var __VLS_124 = __VLS_123.slots.default;
var __VLS_123;
var __VLS_125 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" })));
var __VLS_127 = __VLS_126.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" })], __VLS_functionalComponentArgsRest(__VLS_126), false));
var __VLS_129;
var __VLS_130;
var __VLS_131 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_132 = __VLS_128.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_128;
var __VLS_133 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_134 = __VLS_asFunctionalComponent(__VLS_133, new __VLS_133(__assign({ data: (__VLS_ctx.productList), border: true, stripe: true }, { class: "product-table" })));
var __VLS_135 = __VLS_134.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.productList), border: true, stripe: true }, { class: "product-table" })], __VLS_functionalComponentArgsRest(__VLS_134), false));
var __VLS_137 = __VLS_136.slots.default;
// @ts-ignore
[productList,];
var __VLS_138 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_139 = __VLS_asFunctionalComponent(__VLS_138, new __VLS_138({
    prop: "productNo",
    label: "产品编号",
}));
var __VLS_140 = __VLS_139.apply(void 0, __spreadArray([{
        prop: "productNo",
        label: "产品编号",
    }], __VLS_functionalComponentArgsRest(__VLS_139), false));
var __VLS_143 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_144 = __VLS_asFunctionalComponent(__VLS_143, new __VLS_143({
    prop: "productName",
    label: "产品名称",
}));
var __VLS_145 = __VLS_144.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_144), false));
var __VLS_148 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_149 = __VLS_asFunctionalComponent(__VLS_148, new __VLS_148({
    prop: "brand",
    label: "归属品牌",
}));
var __VLS_150 = __VLS_149.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "归属品牌",
    }], __VLS_functionalComponentArgsRest(__VLS_149), false));
var __VLS_153 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_154 = __VLS_asFunctionalComponent(__VLS_153, new __VLS_153({
    prop: "spec",
    label: "规格",
}));
var __VLS_155 = __VLS_154.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
    }], __VLS_functionalComponentArgsRest(__VLS_154), false));
var __VLS_158 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_159 = __VLS_asFunctionalComponent(__VLS_158, new __VLS_158({
    prop: "type",
    label: "类型",
}));
var __VLS_160 = __VLS_159.apply(void 0, __spreadArray([{
        prop: "type",
        label: "类型",
    }], __VLS_functionalComponentArgsRest(__VLS_159), false));
var __VLS_163 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_164 = __VLS_asFunctionalComponent(__VLS_163, new __VLS_163({
    prop: "retailPrice",
    label: "零售价",
}));
var __VLS_165 = __VLS_164.apply(void 0, __spreadArray([{
        prop: "retailPrice",
        label: "零售价",
    }], __VLS_functionalComponentArgsRest(__VLS_164), false));
var __VLS_168 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_169 = __VLS_asFunctionalComponent(__VLS_168, new __VLS_168({
    prop: "discount",
    label: "折扣",
}));
var __VLS_170 = __VLS_169.apply(void 0, __spreadArray([{
        prop: "discount",
        label: "折扣",
    }], __VLS_functionalComponentArgsRest(__VLS_169), false));
var __VLS_173 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_174 = __VLS_asFunctionalComponent(__VLS_173, new __VLS_173({
    prop: "discountPrice",
    label: "折扣价",
}));
var __VLS_175 = __VLS_174.apply(void 0, __spreadArray([{
        prop: "discountPrice",
        label: "折扣价",
    }], __VLS_functionalComponentArgsRest(__VLS_174), false));
var __VLS_178 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_179 = __VLS_asFunctionalComponent(__VLS_178, new __VLS_178({
    prop: "specialPrice",
    label: "特价",
}));
var __VLS_180 = __VLS_179.apply(void 0, __spreadArray([{
        prop: "specialPrice",
        label: "特价",
    }], __VLS_functionalComponentArgsRest(__VLS_179), false));
var __VLS_183 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183({
    prop: "seckillPrice",
    label: "秒杀价",
}));
var __VLS_185 = __VLS_184.apply(void 0, __spreadArray([{
        prop: "seckillPrice",
        label: "秒杀价",
    }], __VLS_functionalComponentArgsRest(__VLS_184), false));
var __VLS_188 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_189 = __VLS_asFunctionalComponent(__VLS_188, new __VLS_188({
    prop: "warehouse",
    label: "仓库",
}));
var __VLS_190 = __VLS_189.apply(void 0, __spreadArray([{
        prop: "warehouse",
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_189), false));
var __VLS_193 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_194 = __VLS_asFunctionalComponent(__VLS_193, new __VLS_193({
    prop: "stock",
    label: "库存",
}));
var __VLS_195 = __VLS_194.apply(void 0, __spreadArray([{
        prop: "stock",
        label: "库存",
    }], __VLS_functionalComponentArgsRest(__VLS_194), false));
var __VLS_198 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_199 = __VLS_asFunctionalComponent(__VLS_198, new __VLS_198({
    label: "盘点数量",
}));
var __VLS_200 = __VLS_199.apply(void 0, __spreadArray([{
        label: "盘点数量",
    }], __VLS_functionalComponentArgsRest(__VLS_199), false));
var __VLS_202 = __VLS_201.slots.default;
{
    var __VLS_203 = __VLS_201.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_203)[0];
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "quantity-control" }));
    var __VLS_204 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_205 = __VLS_asFunctionalComponent(__VLS_204, new __VLS_204(__assign({ 'onClick': {} }, { type: "text", size: "small" })));
    var __VLS_206 = __VLS_205.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text", size: "small" })], __VLS_functionalComponentArgsRest(__VLS_205), false));
    var __VLS_208 = void 0;
    var __VLS_209 = void 0;
    var __VLS_210 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.decreaseQuantity(scope_1.row);
                // @ts-ignore
                [decreaseQuantity,];
            } });
    var __VLS_211 = __VLS_207.slots.default;
    var __VLS_207;
    var __VLS_212 = {}.ElInputNumber;
    /** @type {[typeof __VLS_components.ElInputNumber, typeof __VLS_components.elInputNumber, ]} */ ;
    // @ts-ignore
    ElInputNumber;
    // @ts-ignore
    var __VLS_213 = __VLS_asFunctionalComponent(__VLS_212, new __VLS_212({
        modelValue: (scope_1.row.inventoryQuantity),
        min: (0),
        size: "small",
    }));
    var __VLS_214 = __VLS_213.apply(void 0, __spreadArray([{
            modelValue: (scope_1.row.inventoryQuantity),
            min: (0),
            size: "small",
        }], __VLS_functionalComponentArgsRest(__VLS_213), false));
    var __VLS_217 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_218 = __VLS_asFunctionalComponent(__VLS_217, new __VLS_217(__assign({ 'onClick': {} }, { type: "text", size: "small" })));
    var __VLS_219 = __VLS_218.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text", size: "small" })], __VLS_functionalComponentArgsRest(__VLS_218), false));
    var __VLS_221 = void 0;
    var __VLS_222 = void 0;
    var __VLS_223 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.increaseQuantity(scope_1.row);
                // @ts-ignore
                [increaseQuantity,];
            } });
    var __VLS_224 = __VLS_220.slots.default;
    var __VLS_220;
}
var __VLS_201;
var __VLS_225 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_226 = __VLS_asFunctionalComponent(__VLS_225, new __VLS_225({
    prop: "inStockDate",
    label: "入库日期",
}));
var __VLS_227 = __VLS_226.apply(void 0, __spreadArray([{
        prop: "inStockDate",
        label: "入库日期",
    }], __VLS_functionalComponentArgsRest(__VLS_226), false));
var __VLS_230 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_231 = __VLS_asFunctionalComponent(__VLS_230, new __VLS_230({
    prop: "validDays",
    label: "有效期",
}));
var __VLS_232 = __VLS_231.apply(void 0, __spreadArray([{
        prop: "validDays",
        label: "有效期",
    }], __VLS_functionalComponentArgsRest(__VLS_231), false));
var __VLS_235 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_236 = __VLS_asFunctionalComponent(__VLS_235, new __VLS_235({
    prop: "status",
    label: "状态",
}));
var __VLS_237 = __VLS_236.apply(void 0, __spreadArray([{
        prop: "status",
        label: "状态",
    }], __VLS_functionalComponentArgsRest(__VLS_236), false));
var __VLS_240 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_241 = __VLS_asFunctionalComponent(__VLS_240, new __VLS_240({
    prop: "note",
    label: "备注",
}));
var __VLS_242 = __VLS_241.apply(void 0, __spreadArray([{
        prop: "note",
        label: "备注",
    }], __VLS_functionalComponentArgsRest(__VLS_241), false));
var __VLS_136;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "bottom-buttons" }));
var __VLS_245 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_246 = __VLS_asFunctionalComponent(__VLS_245, new __VLS_245(__assign({ 'onClick': {} }, { type: "primary" })));
var __VLS_247 = __VLS_246.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_246), false));
var __VLS_249;
var __VLS_250;
var __VLS_251 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSubmit) });
var __VLS_252 = __VLS_248.slots.default;
// @ts-ignore
[handleSubmit,];
var __VLS_248;
var __VLS_253 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_254 = __VLS_asFunctionalComponent(__VLS_253, new __VLS_253(__assign({ 'onClick': {} }, { type: "success" })));
var __VLS_255 = __VLS_254.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "success" })], __VLS_functionalComponentArgsRest(__VLS_254), false));
var __VLS_257;
var __VLS_258;
var __VLS_259 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSaveDraft) });
var __VLS_260 = __VLS_256.slots.default;
// @ts-ignore
[handleSaveDraft,];
var __VLS_256;
/** @type {__VLS_StyleScopedClasses['inventory-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['inventory-form']} */ ;
/** @type {__VLS_StyleScopedClasses['action-buttons']} */ ;
/** @type {__VLS_StyleScopedClasses['import-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['search-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['product-table']} */ ;
/** @type {__VLS_StyleScopedClasses['quantity-control']} */ ;
/** @type {__VLS_StyleScopedClasses['bottom-buttons']} */ ;
// @ts-ignore
var __VLS_13 = __VLS_12;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
